<?php
/**
 * 后台公共控制器
 */
namespace Admin\Controller;
use Think\Controller;
use Common\Common;
use Think\Auth;
class CommonController extends Controller {

    protected function _initialize()
    {
        $user = session('sys_user_info');
        if (!$user) {
            $this->redirect('Admin/Login/index');
            exit;
        }
    }
}